package com.xbongbong.pro.statistic;

import com.xbongbong.pro.statistic.result.pojo.FieldAttrPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ChartDrillItemPojo implements Serializable {
    private static final long serialVersionUID = -7297916433906676357L;
    /**
     * 层级名称
     */
    private String name;
    /**
     * 层级唯一标识uuid
     */
    private String uuid;

    /**
     * 层级内各个层级字段信息
     */
    private List<FieldAttrPojo> field;

    /**
     * 当前钻取类型 chartClassify 分类、chartSeries 系列、rowGroupAttr 行分组、colGroupAttr 列分组
     */
    private String drillField;

    /**
     * 当前钻取字段所在层级 (对应钻取层级的索引值)
     */
    private Integer drillIndex;
}
